package com.wireless.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.wireless.entity.Ordertbl;
import com.wireless.entity.Purchase;
public interface OrderService {
	
	//���pageSize��pageNow��ʾ��Ϣ
	public List getOrderList();
	//��ȡҳ��
	public int getPageCount(int pageSize);
	//�ı�����Ͳ�״̬
	public boolean changeOrderPayFlag(Integer id);
	//find a order
	public Ordertbl getOrder(Integer id);
	//upd order
	public boolean updOrder(Ordertbl order);
	//del order
	public boolean delOrder(Integer id);
	//add order
	public boolean addOrder(Ordertbl order);
	//
	public List getTableList();
	//
	public List getMenuList();
	
	public List<Object[]> findReportByMouth(String time);
	public List<Object[]> findReportByYear(String string);
	public List<Object[]> findReportByDay(String string);
	public boolean addPurchase(Purchase purchase);
	public List getPurchase();
	public List<Object[]> findPurchaseByMouth();
}
